-
Home
-
MailPoet – Newsletters, Email Marketing, and Automation
-
4.36.0
-
Code
-
Classes
- Model
| Total Complexity |
52 |
| Dependencies |
7 |
| Dependents |
0 |
| Total lines |
270 |
| Lines of code |
204 |
| Logical lines of code |
115 |
| Comment lines |
24 |
| Methods |
23 |
| Properties |
3 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| _createOrUpdate() |
A |
50 |
12 |
27 |
| save() |
S |
50 |
5 |
30 |
| setError() |
S |
61 |
4 |
13 |
| bulkAction() |
S |
58 |
3 |
16 |
| validate() |
S |
66 |
3 |
8 |
| duplicate() |
S |
59 |
2 |
14 |
| create() |
S |
68 |
2 |
7 |
| getErrors() |
S |
70 |
2 |
7 |
| isNew() |
S |
74 |
2 |
5 |
| setTimestamp() |
S |
73 |
2 |
5 |
| __callStatic() |
S |
68 |
2 |
7 |
| __get() |
S |
67 |
2 |
8 |
| bulkTrash() |
S |
61 |
1 |
11 |
| bulkRestore() |
S |
61 |
1 |
11 |
| __construct() |
S |
73 |
1 |
5 |
| createOrUpdate() |
S |
79 |
1 |
3 |
| trash() |
S |
79 |
1 |
3 |
| bulkDelete() |
S |
68 |
1 |
7 |
| restore() |
S |
79 |
1 |
3 |
| getPublished() |
S |
80 |
1 |
3 |
| getTrashed() |
S |
80 |
1 |
3 |
| __set() |
S |
75 |
1 |
4 |
| __isset() |
S |
76 |
1 |
4 |